<template>
  <div>
    <!-- 风格一的登录 -->
    <div class="login-wrapper">
      <div class="login-container">
        <div class="title-container">
          <h1 class="title">
            <img src="@/assets/test-img/logofull.png" alt="" class="logo" />
          </h1>
        </div>
        <login v-if="type === 'login'" />
      </div>
      <div class="companyFooter">
        Copyright @ 2019-2020 Tencent. All Rights Reserved
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import Login from './components/Login.vue'
// 设置相关操作

const type = ref('login')
</script>

<style lang="less" scoped>
@import url('./index.less');

//风格一登录样式
.login-wrapper {
  position: relative;
  .companyFooter {
    position: absolute;
    bottom: 0;
    background-color: transparent;
    left: 50%;
    transform: translateX(-50%);
    color: #c0d1ff;
  }
}
.logo {
  width: 167px;
  height: 60px;
}
</style>
